Add sqrt and pow functions. Weird bug showing up.