added rng with chi square test to multinomial