Calibration of an on-board positioning correction system for micro-EDM machines