Signal filtering and denoising