Findtheredundancyratesforeachrowofamatrix