updated docstring for structure.pairwise