saves to separate mat files per day