Stabilization of lateral mode transients in high-power broad area semiconductor lasers