Cubic spline fit between a set of given points.