updated math library