more auto-comment fixes
added rudimentary python math support