Stochastic Robot Behaviors through Hidden Markov Models with Inputs and Outputs | Synapse