Fix derivative if n >= deg.
Fix derivative if n >= deg.

msteinbeck/tinyspline,msteinbeck/tinyspline,retuxx/tinyspline,retuxx/tinyspline,msteinbeck/tinyspline,msteinbeck/tinyspline,msteinbeck/tinyspline,msteinbeck/tinyspline,msteinbeck/tinyspline,retuxx/tinyspline,msteinbeck/tinyspline