Using OGS-6 data structures in programme generateMatPropsFromMatID.