Computes the invert matrix from the given one
Matrix where the result of the operation will be stored
The given matrix