Added to latex template stuff to add a header in the preamble