Mathematical Modeling of the Cloudiness Effect on Atmospheric Gas Composition