Added derivatives to b-spline