tFlow2NTriple and tTriple2Ntriple little modifications