HMM train supervised + test