Optimization Of Electric Discharge Machining