Added bspline interpolation