Changed histogram dtype so it works with floating point data (distributions)