Renamed sampler to histogram.
Removed unnecessary functions.
Add standarddeviation filter.