Convert Node To Array Python Size Matrix