Improvements to exponential module; now handles sums in exponents.