fixing gpa calculation to be float