Improved cubic spline interpolation.