Now correctly extracts the sbox column and row.