Added cavity Gouy phase function