Simplified Method for Calculating the Exponent and Logarithm of a Two-Dimensional Matrix | Synapse