edited mat-file format