Updated ica to save mat files