Skill acquisition from human demonstration using a hidden Markov model | Synapse