Add fixed and variable width knot generators.
Start indexing at 0.
Clean spline code.
Fix a small bug.