Made changes to use built in python file methods to read in the data from the csv file instead of using matplotlib.mlab.csv2rec.