Fixing Geometry for NearestWire() function --kazu