Changed some inappropriate uses of \text... to \math…
Merge pull request #422 from zhenlin/formatting

Some inappropriate uses of \text... to \math…