Did some documentation on grade.cpp