Added C functions (and python wrappers) for chi2 prob calcs and extended equiv gaussian sigma