Mirror Descent for Metric Learning