Wei Lin and Norbert Juffa and a bunch of others wrote: [about calculating distances] Also remember that its not always necessary to do the root when you work with distances. If you only need to compare distances with eachother, you don't have to do the root, just compare the squared distances with eachother. It will give the same result. Just wanted to point that out :) --Olle