Hey rico.

I'm not quite familiar with what you want to do but I do understand Markov Probability Models so can you explain that given your transition matrix to go from S_t to S_t+1 and your matrix E what you are trying to find given these two constraints?