Saving to .mat and .xls fixed