A musculoskeletal model of the hand and wrist