replacing more boost with c++11 where appropriate; moment and density
accumulators are unused