Digital Filtering for Noise Reduction in Nuclear Detectors