Fix knot spacing bug in making of the spline base.

Border conditions should now be specified correctly.