Added histogram calculation
Merge pull request #3 from sburnicki/histogram

Added histogram calculation
Buggy implementation of the tonemap
Implemented ToneMapping filter. Parameters need to be checked, test uses old code, but we're in hurry