a metric to compute the transformation using 3 points was added.