Refactoring to remove need for global stats scratch variables. (#988)* Refactoring to remove need for global stats scratch variables. larson-group/clubb#972* Changing name of new stats_scratch variables to be more descriptive.