Some fixes from success-testing-pr2... hopefully undos didn't screw this up...
Wrote framework for other seeds; now just need to implement distance functions.