Added Poisson errors

There is now the option of using Poisson errors if the errors are not
defined before the fit. Also, fixed a bug with saving parameters before
a fit was attempted.