Added clamped cubic spline interpolation