BUGFIX: fix off-by-1 index in sinc_decimate()
TEST: rewrite tests for sinc_decimate()