Refactored math module: fixed header guards. Got rid of useless inline namespace standard.