Numpy Pandas Matplotlib And Numpy Matrix To Array