Simplified MatchToGen: First pre-calculate all necessary lists of TLVs and then do the distances
Added calculation of top/higgs distances to MatchToGen