Methods for calculating final grade