Do a procrust analysis. X is the target matrix, Y is the matrix we want to fit to the target. This function returns a translation vector and a rotation matrix After the procrust problem you must do the rotation before the translation. Warning : The order of the value on both matrix is important
procrust(X, Y)A list with the translation vector and the matrix of rotation
the target matrix
the matrix we want to fit to the target
Arthur PERE