Python Program For Numpy Matrix To Array