new hermite interpolation algorithm and test cases