Added more work on the grid system for the stats
Need to finish C code to compute variance between cells + also check to make sure the grid.statsTable will be handled correctly.