work to modify gjk to get distance also