Added as much to the tex file as possible right now