Cleaned up chapter 3 a bit.