Considerations on correlations in shift-register pseudorandom number generators and their removal