2D array indexing macro