Adding more math functions.
Fixing the handling of single arguments to the basic math functions.