Fixing bug in CTShower

CTShower code

I had trouble reproducing the problem in the debugger because the fitting program autoFit3 (which generates an image of the shower reconstruction) actually seems to run fine. The regular autoFit program, which only saves the reconstructed parameters, also seemed to run fine. It is only the web reconstruction which is failing.

Sample showers:

It seems that there are two problems: the reconstructor is sometimes going off the rails and finding NAN solutions, and other times a solution is found but there is a UI problem and the results don't show up.

I just noticed that the average of the CIT1000 sites is always 0, or even negative. This must be throwing off the fits.

UPDATE: the problem seems to be in GenerateFitShower(), which assumes all of the 1000s exist when averaging intensities.