Implemented the gamma factors. These are calculated within Mathematica
first, then imported into Python.