minor
wrote save-as-mat-file for fits