.mat to .txt conversion scripts