Fixed some bugs in hmmTrain for gaussian splitting, still bug in segment?