Finished Chapter 4 of the writeup and did some more changes to code. Now do Chapter 5 and hopefully finish supplementary stuff