Added 3D spline functions to SplineFitter