How are unary potentials returned. Say I have two classes (1 and 2) and two features (A and B). Are the unary potentials returned 

1A, 1B, 2A, 2B
or
1A 2A 1B 2B