Derivative of the interpolating spline function