Optimization of process parameters in Wire-EDM