simplifyGtypes: Simplify detailed grain types to parent classes
Description
The IACS records grain types in major and minor classes, e.g. precipitation particles PP can be subclassified into
stellar dendrites PPsd. Some of these subclasses are not supported in this R package and so this function simplifies
the unsupported gran type subclasses into their supported main classes. If a given grain type cannot be simplified,
a NA value is returned for it.