fixed issue #964 regarding non uniform distribution  in RandomSample filter (N changes through iterations, and V is not an integer)  (thanks Marc Gronle)