Simulation and Optimization of Furnaces and Kilns for