Kill mathutil

Moving only internally used function to utils.py; Rest is undocumented anyway

@uzadow 
If you find this move too drastic, simply don't merge; close and delete this.
Given that None of this is documented, I'd assume that it's not heavily used..