spline interpolation and approximation