You can use a chemical box model to simulate the chemistry of these gases. You can downlaod NCAR master mechanism http://cprm.acd.ucar.edu/Models/MasterMech/ and can find its details in Madronich, Atmos. Environ, 2006. For simulating 3D distribution you can use chemistry ransport models such as MOZART, MATCH, WRF Chem. You can also see Ojha et al., JGR, 2012; Kumar et al., GMD, 2012a, 2012b.