Bernoulli function

Bernoulli distribution