Python Incomplete Gamma Function Formula