Method to evaluate beam quality of Gaussian beams with aberrations.