Added more math library functions