bug in procrustes templating
unused variable
Merge commit '5bbb692ac1dae79549793a52b460c7674ed9c42a'
changed to O(n) implementation