tinkering with the grade system

this is just a small change to when the grade is called so that the internal grade of the iaa_lib is correct when you call the time and the iaa, allso now you can use the grade and next grade variables if you want