Fixed bug while computing multinomial_pmf (in all implementations)