Improvements to LaTeXPlot.m