Fixed a few bugs in modeling DMA. Modeling is still quite conservative, should drill down further