Created MoveBySpline (Cubic) for n points.