On the use of conformal mapping in the analysis of electric machines