[CLC-3145a] GPA Calculator does not handle failing grades correctly

https://jira.media.berkeley.edu/jira/browse/CLC-3145