Added functionality to transpose and symmetric format for CSR matrix.