Just out of curiosity: what distribution are you planning to create? If commonly used it could end up in the code base, I guess. Also, I’m just about to start writing a few myself (astronomy inspired: power-law distributions, broken power-laws and Schechter functions).