TeXMath Writer: Reorgansised code to avoid some repetition
Updated README
Merge pull request #51 from mpickering/master

Reorganisation