Factors that Affect Solubility of Solids and Gases