Update dissimilarity_common.py

using the order of streamline(by actual length)