What is the best way to convert a SymPy matrix to a numpy array/matrix,np.array(g).astype(np.float64)