Added histogram stretch feature