MathUtils: REFACTORING