Determine if rows/cols are even or odd.