allow for SplinePackages based on just two data points

Previously at least three data points were required for each SplinePackage. Now two data points are allowed. In this case, the spline interpolation becomes a simple linear interpolation.