Update dissimilarity.hpp