Marsaglia, G., & Tsang, W. W. (1999). The Monty Python Method for Generating Gamma Variables. Journal of Statistical Software, 3(3), 1–8. https://doi.org/10.18637/jss.v003.i03