On the Resolvent of a Matrix