added m file to convert from mat to easy to read format