This function implements Procrustes Analysis as described in the reference below. That is to say:
Translation: Fixed displacement of points through a constant distance in a common direction
Rotation: Fixed displacement of all points through a constant angle
Dilation: Stretching or shrinking by a contant amount