added basic unary math function