Noise functions to deal with noisy samples