Fixed state reversal when taking P(sigma|s)