Added spline derivative functions.