I have a design matrix that is not full-rank and I want to convert it to full-rank. I decided to make a contrast matrix. I have subtracted the first row from succeeding rows