add printouts of sum of weights and wnorm at end of generation