Add memory-efficient version of dm writer
Add more efficient parser (np.loadtxt hogs memory)