simplifyGtypes function

Simplify detailed grain types to parent classes