Cubic splines approximation method is changed now.