distance computation between vectors of any datatype