Fix and tests
Merge pull request #565 from SimTk/generators

Enable generators to be passed to `md.compute_distances`