On the computation of conformal transformations and the construction of difference meshes