Function
hermite
(pt1: number, m1: number, m2: number, pt2: number): (t: number) => numberA second order function returning an evaluator for the given 1D Hermite curve
param pt1- First point
param m1- First control point (tangent)
param m2- Second control point (tangent)
param pt2- Second point
returns A function which gives the value on the 1D Hermite curve at t