Fixed the Procrustes Analsysis code