add bernoulli rng test to demonstrate bug (generates all 0s unless p ==
1)
fix bernoulli generator bug
Merge pull request #63 from jeffdonahue/bernoullirngbugfix

fix bernoulli random number generation