AE: Start on convergence of templates. First generate a histogram that plots the error of the max/min bin as a function of pulse added.
AE: Get the pedestal and noise from the SQLite database. Use the noise as the level to stop a pulse. Also, fix a bug where I was seeing a double pulse when the PulseCandidateFinder was saying there was only one. The problem was that the final sample in the TPI was above noise and so we were never stopping the second candidate
AE: Remove the vector of TPIs since we don't need it any more. Also correct a bug where overflowed pulses weren't actullay getting removed
AE: Don't use the first pulse for the template if the peak is in the last 20% of the pulse island
AE: Ignore underflowing pulses in the TemplateCreator. Also make a better estimate of the pedestal offset now that we're dealing with actual pedstals
AE: Don't use the pulse error in the calculation of chi^2 because we end up including it twice for some reason I can't remember
AE: Set some better parameter ranges for the pedestal offset (now between 0 and max_adc_value) and the amplitude scale factor (minimum now is 0.1)