Teaching grasping to a humanoid hand as a generalization of human grasping data