Fix standardizeMx and fitMeasuresMx
Bug fixes