Modeling Natural and Artificial Hands with Synergies