Spline/Curve implementation added