Allowed IV as argument in elementary functions

Added code to handle IV as arguments in elementary functions.
Following functions are now supported:
- exponential: exp, log
- trigonometric: sin, cos, tan, cot
- hyperbolic: sinh, cosh