Compute k'(x) for k(x) = e^(x^2)