Moved some functions to MathUtils