Fixing the matrix