Mode analysis of a self-filtering unstable resonator with a gaussian transmission aperture