Fixed a bug, that led to miscalculated sum cp and sum mp. Calculated
average grades were unaffected by this bug.