Automatic Design and Optimization of Natural Gas Plants