diag=TRUE bug fix in grid.adjacency