adding math utility class