beta and poisson distribs added and tested