Add closing ^ on exponents

The second caret is being interpreted as closing the first one:
![screen shot 2014-11-29 at 3 42 39 pm](https://cloud.githubusercontent.com/assets/952293/5235773/cca7a1de-77df-11e4-8291-6d02284b2459.png)