Refactor IO module. We can now measure and read matrices from CSV files.