Update KeepTrackofStudyTime

Finally fixed the NaN error, it was a really simple but stupid mistake.