Fixed the dissimilarity method.
Changes in the documentation