bug fix for orthogonal procrustes