Hermite Spline is now works fine on quadratic and cubic functions