Made small adjustment to ExtendedMath Class.