Insert braces around macro expansions.  Closes #7.

Previously applying macros could break expressions:
\newcommand{\vecx}{a + b}
$\hat\vecx$ --> $\hata+b$