Added histogram method
Added tags support and made sampleRate optional
Added histogram tests
Added some tags tests