Add random seed option to sampleWeightedData