Java Cubic Spline Interpolation