Analysis of a golf swing with a kinematic, three-link pendulum model