hermiteInterpolation function

Cubic Hermite interpolation using both values and gradients to approximate a log likelihood function