Text this: Simulation and optimization of electrical discharge machining process using matlab