Learning Hidden Markov Models with Structured Transition Dynamics | Synapse