Added include statement for TH2D
Changed #define
Now assigns max and min values to graphs
Now recalculates initial values for fit parameters for each wave