Implements a similarity measure for two OpSamples.  Adds a way to bin a bunch of samples and construct a new solution based on ranked similarities.