Optimizing a Flight Control System