A simple natural cubic spline implementation. Much simpler and more readable than the current spline implementation. Efficient for interpolation of functions.