Fix function names (log, exp)