PROPAGATION OF OPTICAL BEAMS IN ACTIVE MEDIA INSIDE GAUSSIAN CAVITIES