A triple pendulum robotic model and a set of simple parametric functions for the analysis of the golf swing