Merge pull request #82 from KellyBlack/black_dev

Change the generation of a Bernoulli generated random variable to also include optional values to return.

I checked the old functionality and the new functionality.  Both seem to work.
Merge pull request #10 from openwebwork/develop

Develop
Merge branch 'develop' into black_dev