Local 2D metrics for mesh optimization in the target-matrix paradigm.