Added "MathEx" static class, with additional math-related methods.