do not put math extension stuff into the core math module - make a separate module for that, cleanups