ComputerPairwiseFactors implemented.