compute_posterior function

Compute posterior probabilities of P. vivax recurrence states