Added the ability to histogram on values not just on density