Changes in getdiff to make it work better with the GUI.

Added madx file to run general corrections.