Add a progress bar to Ptychography.py and cut the data output by process_diffs.py for testing.