SIMULATION OF THE TEMPERATURE EFFECT OF A SINGLE PULSE DURING ELECTRICAL DISCHARGE MACHINING