Class for construction of cubic natural and periodic splines. Allows to construct the spline passing through set points. Using Qt4.