Fixed cdf_function implementation
Improved numerical stability of grad2F1, and gradIncBeta
Increased tolerance on cdf_function agrad comparisons