fix MixSegment's bug : clear the res vector before HMMseg called.