Added a ROOT macro for graph fitting.