updates to chapter 4 and 9
Merge pull request #44 from magnusjerre/chapter9_doc

updates to chapter 4 and 9