Update CubicSpline.java

almost..