size 8 7 ! http://en.wikipedia.org/wiki/B-spline sub N j n x if n = 0 then if (x >= j) and (x