Julia translation for David Barber's Bayesian Reasoning and Machine Learning MATLAB toolbox