Added options for corr and euclidean distance metrics