Acceleration of the Collision Detection for the Grasping of Objects by a Robotic Hand