added chi square goodness of fit test to rng for poisson