Moved the Math utility class to the DateTime component

Simplified this class by removing useless clutter.