SOLVE THE MATRIX