use cobrapy stoichmatrix