Thesis chapter 3.7 math fix