[MRG+1] Updating a random feature with replacement for every iteration in the cd code

Testing if random with replacement has the same effect on the duke and arcene datasets.
pep8: single blank line inside body of functions.