(*) Implemented the first set of intermediate calculations for the
spline.
(*) Including clamping the second derivative.