Add spline interpolation support