function to compute the emission proba for each site for each hidden state and corresponding tests