pdist2 changed to pdist because ERIC-PC uses Matlab 2008