Study of local minima in metric adaptive optics