TestAllExampleScenes() writes parameters and results to .mat file.