Added Stats.h and Stats.cpp from mingrody, updated Makefile and simulation.cpp to use Stats class, bug fixes from Stats class