touch-up on my bayes midterm 2 problem 4 writeup