Update template.latex

Tested on writelatex.com and should compile and text size should change for the whole document hopefully.