Latex Mathmode

Changed latex output to include $ and align environment