Procrustes work

tests are passing, still needs some work which I'm doing now.