added exponent and square root functions