Add math library