changed distance check to not include orienation. I am not even sure why orientation was being used to check overlap.