A little bit of work on the DirectionController output algorithm