Modify header decode to use numpy instead of struct.
Fixes case when reg addrs are not contiguous.
output accum registers for debugging.