Made integration a bit nicer for exponentials.