Number equations by chapter.
Add and fix references. Better bibtex.
Update Makefile for ch4.