Prediction of work piece geometry in electrochemical cavity sinking