public double Distance(NGram <Chord>[] first, NGram <Chord>[] second) { return(distance.Distance(first.SelectMany(x => x.SelectMany(y => y.Notes)).ToArray(), second.SelectMany(x => x.SelectMany(y => y.Notes)).ToArray())); }