Math library used by various UM projects.