moved MathConverter to main namespace