Allow the distance analysis pluigin to use either tracing or clustering
algorithms. Use the same code as TraceMolecules to convert the results
for use with the clustering engine.