Computation of incompressible potential flow using von Mises coordinates