Hidden Markov Models with Momentum