Fixed bug in calculting the index for reading the GRADSSINGLE datafile.
Added a proto identifier for cm1log for the GRADSSINGLE case