Moved figures to files, added necessary LaTeX libraries, switched to pretty boxes