Added totalAvg to table and fixed somethings in the table and rounded totalAvg