Hopefully prevented a memory leak
Started testing the Bayesian Net