added exponent, log and trig functions