added testers to the generate sample method to discard bad samples. added a filter sequence method to be able to keep only a set of sequence that don\'t overlap too much, added multiple input support for nbins