Optimal control of joint torques using direct collocation to maximize ball carry distance in a golf swing