Updated pathways

added class to calculate dG_pathway
making example for book chapter