PROPAGATION OF GRAVITY WAVES IN A CONVECTIVE LAYER