[API] templates in CubicSpline2d removed