Added more math functions