Remodeled spline class, added some failchecks.
Merge branch 'master' of https://github.com/pelluch/computer-graphics