adding optimisation of the flow field. now units go in strait line to the destination if no obstacle is in the way.