Removing Function pointers in CurveUtil

Removing calls to frequent math functions through Function variables, to
gain a significant boost in math performance.