Add utility classes (Math & MemoryUnit)

Add utility classes (Math & MemoryUnit)