got rid of bugs need to do final test to make sure everything works properly

still need to implement logging reporting and plotting and statistical tests