Added geometry utility to check collisions between objects.