Fixed math library error.