Memory mechanisms in grasping