Fixed equation generation bugs
Merge branch 'story' of https://github.com/thomaswp/tuxblocks into story