Multivariate and Multichannel Discrete Hidden Markov Models for Categorical Sequences