Add Clear to spline class

Added clear method to clear all points to spline class.