Added amoeba-based fitting. Improved goodness-of-fit parameter.

Now we combine all 3 moments into one big chi squared value instead of
summing them in quadrature. This results in better looking fits.