Accurate cubicspline class

It now is actually correct and not strange!