Adding spline model

I have added a basic spline model. 
Oops, ok done