Add Exp method to Dense

This is the legible but apparently not performance optimal version.
The cost is minimal and the intention is clearer this way. I'd like to keep this.