Code for my masters thesis, eventually including the .tex source