calc averages and grades only when there are changes #61