A small math library