prior_bernoulli function

Prior bernoulli distribution