Bayes' Rule with MatLab