Wavelet Functions for Rejecting Spurious Values