pin_bayes function

PIN estimation - Bayesian approach