Noticed error with cubic spline calculation.