Solves a matrix.