the fit is now penalized for having negative parameters.
weights are working well.