updated bayes101.m