I added documentation to the spline class. I also changed the requirement for how many elements uk must at least contain (it's 6).