Designing a low-pass digital filter