Code modified for 2-sensor RL.
Got rid of the assertion fail...for now...by moving the initialization of pi in the EM loop.  pi's value should never be changing, so we still need to figure out why that's happening.