moved stats module into a ConfusionTable class
added more tests & mean calculations