Laboratory Scale Anaerobic Reactors for Bioenergy from Wastes: Materials, Mathematical Models, and Stoichiometry