Piecewise Cubic Hermite spline interpolation methods for ruby