edm automatic machining strategies