Related: Are there any libraries for discrete probability tables in order to do these type - #2 by heetbeet