Moved text from chapter 6 to the end of chapters 4 and 5.