Worked on making ordered triangular matrix from DSD matrix.