R Functions for Solving Stoichiometric Equations