reuse already created data in histogram functions.

This gives a speedup when working with large particle numbers. For example
a 72e6 particle processing got speed up from 65sec to 52sec.
Merge branch 'master' of github.com:skuschel/postpic