Clean-up to make readable.
Added error estimation to non-parametric fit. Fixed FWHM error in gaussian fitting.
More realistic width error for non-parametric model.
Specify the directory name to save the stamps in.
Remove printing.
Minimum global threshold set to 0.0. Stamp folder name adjustment.
Constrain relative weight to be between 0 and 1.
Update branch from master.
Removed unnecessary binary closing.