Got the GPA calculator NaN issue resolved. The app is now functional.