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