The Propagation of Hermite-Gauss wavepackets in Optics and Quantum Mechanics