Saving mat file with variables, trimmed script for ICA component detection