A generalized solution of the orthogonal Procrustes problem https://web.stanford.edu/class/cs273/refs/procrustes.pdf Orthogonal Procrustes problem