Adding tool to calculate bayesian priors