Confusion:  Fix bernoulli distribution

Is this what you meant?
Merge pull request #114 from Kleptine/master

Confusion:  Fix bernoulli distribution