Question: Taking the standard deviation of the top row of a matrix

I have a markov matrix that is 500x500. I need to take the standard deviation of the top row of this matrix after I raise it to high powers, like 10^17 by 10^12, (from a do loop.) I would also like ot make a histogram of this data too. 

 

Any ideas what I can do? 

Please Wait...