pathDistances function

Calculate a pathway space distance between two vectors