Computation of Extremal Quasi-Conformal mapping of a triangular mesh

Run demo.m this to see an example of how to flatten a disk-type mesh while minimizing 
the maximal conformal distortion using the BD spaces in:
"Bounded Distortion Mapping Spaces For Triangular Meshes" 
Y. Lipman.
and the method in
"Controlling Singular Values with Semidefinite Programming"
Shahar Kovalsky, Noam Aigerman, Ronen Basri, Yaron Lipman

This piece of code, written by N. Aigerman, S. Kovalsky, and Y. Lipman

Dependencies:
YALMIP http://users.isy.liu.se/johanl/yalmip/ - the optimization framework
MOSEK https://mosek.com/ - used for the SOCP solver

Credits:
Gabriel Peyre, Toolbox Graph
   http://www.mathworks.com/matlabcentral/fileexchange/5355-toolbox-graph/content/toolbox_graph/toolbox_graph.m
   http://www.ceremade.dauphine.fr/~peyre/matlab/graph/content.html

Disclaimer: The code is provided as-is and without any guarantees. 
