added method to convert GOES_class format to decimal