dev_bern function

Bernoulli Deviances