Fix all the bugs that was listed on the google doc and then some.
Merge branch 'master' of https://github.com/UCSD-TIES/ckprosecution