added the LaTeX writeup and figures