Deakstadieđáhus: Flash smelting: analysis, control and optimization