pairDist function

Calculate pairwise distances between two matrices or data frames.