pub fn constrained_spline(ks0n: &[Knot]) -> Piecewise<Poly3>
Create a constrained cubic spline
Taken from “Constrained Cubic Spline Interpolation for Chemical Engineering Applications” by CJC Kruger.