monotonic_cspline function

Monotonic cubic spline