fitHMM function

Fit a multivariate HMM to the data