Detection of Related Solvent Positions sample code.