Compute the log base 10 of each element of a Matrix.
This function computes the log base 10 of each element in a matrix, A.