improvements to Spline3 class