Final edits to in_out_mathmode.py for now