save spline parameters in a more efficient manner than saving the whole UnivariateSpline object