[PD] Distance Measures among Arrays and Lists