Made random sampler guaranteed to generate unique data points.

Change-Id: I3de37fff83c34bb11cdd176c5c5bceb6856b33b0