An Introduction to Bayesian Reasoning