PERF: Attempt to vectorize computation of exp.

The exp function call is the most time consuming portion of the entire
program.  This refactoring attempts to allow vectorization of the
exp across all the matrix elements.