Fixed issue 1003 regarding how average is calculated.

Average now shows (sum of marks of each student) / (number of students). Modified labels to better reflect this.