Tested spline

tested spline on a simple sin function,