Hermite-Gauss functions in the analysis of a category of optical devices