Down sampler/Decimation Code