Adds chi2cdf function if Statistics toolbox is missing