Added near-complete chapter 6.