Cubic hermite interpolation