Small direction patches

We cleanded up the rest of the direction code for sensors and
intersections.