how can i speed up transition matrix creation in numpy?,"m3 = np.zeros((50, 50))"