added HistogramEQ class