implement internal sample accumulator for streamed particles
Merge pull request #5 from petercable/accumulate

implement internal sample accumulator for streamed particles