matrix exponential function

concurrent and serial implementation
*Dense does not have a data() method, and one will not be added.