Calculate exact absorption probabilities in Markov chains using matrix exponentiation and rational arithmetic.