interpolation for y-spline