Fix bug in histogram filling..
Fix bug in histogram filling (final).
Merge pull request #5 from vadler/master

Fix empty histograms.