Update trainGMM.m