Rectifies sample data generator