fix random_projection

make sure to use sample projection for train and test.