fix Spline constructor

--HG--
branch : fix_spline
fixed Spline constructor dimension bug