Save data, regen data & compress matrix

All 3 tasks have been completed.