Updated math library