Updated Bayes scripts to clear arrays.