The alignment property of noise and how it helps select flat minima A stability analysis