Added Spline algorithm. Added knot picking support to the plotwidget.