Three-dimensional geometric resolution of the inverse kinematics of a 7 degree of freedom articulated arm