Calculates most of the stats now