Committed writeup changes and remaining matlab files we used

Not sure which .tex files you need so I included everything.  Sorry if
there's unnecessary stuff clogging our github.