Added the MathUtils class.