MBS RG check

Start of RG check through MBS file processing code, added comments to
document data processing steps