Integrated stencil/preprocessing code for b-spline and C1 interpolants.