Integrated adams method into CubicSpline project