CrsMatrix: isDiagonal