implemented exp
implemented log