Approximating Iterated Multiplication of Stochastic Matrices in Small Space