Text this: Spline functions basic theory