Cubic spline regression