A math utility library