Added a place for welford gathering
Moved to doubles, and made a few small fixes