added LaTeX writeup