Interaction primitives for human-robot cooperation tasks | Synapse