Code from "Bayesian Reasoning and Machine Learning" in Julia