added addPairwiseTransformation method