A Modular Approach to the Embodiment of Hand Motions from Human Demonstrations