The Matrix Logarithm: from Theory to Computation