pub fn dist_nd<P, U>(p1: &P, p2: &U) -> Result<f64>where P: IsND, U: IsND,
Returns the distance between two IsND in case their number of dimensions match