attempted bug fix for exercise indexing in mirt_train_EM.py