Calculate weighted GPA with weighted and excluded classes