Changed thermodynamic.py to output plot of integrand of ln(Z).
Fixed typo in chain_to_common_posterior.py
Fixed some minor typos and mistakes highlighted by Canopy syntax check