Added saving results of GUI computations to mat file