First-Principles Study Of Small Molecule Adsorption In Metal-Organic Frameworks