Copper flash smelting process. modelling and control