added additional math functions
updates