Updated spline class

Added rendering of curve