A Geometric Approach to Improve Performance of a Collision Detection Algorithm Derived from GJK and LC Algorithms