Fix decimator to take every 2^d sample

Also add Address typedef and move addr into Capture_hint module