Correcting a problem with the curve_calculation method.