Adding a Cythonized version of Jesse Windle's code for gamma sampling a la Devroye