Kinematics equations of a class of 4-dof parallel wrists