Adds tests for smoothed histogram
Adds smoothed histogram function