Updated the default distance metric function distance_between to support Vector values.