Added ParameterError class. Chaned Pricing engine to use a price_calculator factory