Bayes Rule - Notes and Examples