Fixed GPA calculation error