update figure in PageRank lab

Updated to matplotlib figure.
use more canonical function for making a 1d matrix