Adding in the new SPAN 2.0 FlowDirection algorithm.