change line width calcs

Ensures that values far from zero have largest line widths, rather than
those with lowest values.