Added new math functions