Used double to hold the 'p' for bernoulli() and geometric() instead of 'real'.
Merge pull request #43 from fidlej/topic_non_float_bernoulli

Used double to hold the 'p' for bernoulli() and geometric()