Navigation System for Modular Agricultural Machines using Optimal Control Methods and Industrial Standard Network