Maneuvers-Formation control: Controller code correction