Computing mean first passage times for a Markov chain