Refactoring some statistic functions ...
Merge branch 'master' of https://github.com/imagej/imagej-ops

Conflicts:
fixed test (projector)