Using rapid prototyping to produce electrical discharge machining electrodes