switch from euclidean distance to cosine distance
Merge branch 'master' of github.com:bobpoekert/spatchwork