lots of changes

merged chapters 7 and 9, renumbered chapters 9-13
first rough edit of chapter 1
many other small changes