implemented getting distances between selected residues and others.