Modify lua bindings for HistogramParams to use the correct datatype