prior_beta function

Prior beta distribution