Goal-directed imitation for robots: A bio-inspired approach to action understanding and skill learning | Synapse