On Learning, Representing, and Generalizing a Task in a Humanoid Robot | Synapse