Change viscosity and elemental formulas

Rework formulas to better reflect the amount of flush needed. Update
logger information to provide more deailed feedback at every flush
iteration. Fix an error where the logger messages tried to point to bad
memory locations.