Third Commit

Fixed problem reading in data incorrectly