modify estimated_fee to include estimated 34 bytes per ou...

...tput instead of the hard-coded 80 bytes when calculating the estimated size (issue #520)

with code cleanup for readability and removal of redundancy