added prior work and code for reading in both text and data to matlab