No longer a need for bernoulli_mode.jl (line included in bernoulli.jl)