how did it solve the problem?. it still wouldnt work for higher matrices.