univariate spline interpolation