Finite horizon analysis of Markov automata