selectMHMMR function

selectMHMMR implements a model selection procedure to select an optimal MHMMR model with unknown structure.