add matlab readme, write data file (for testing)