deflicker improvements

line skipping for speed, more percentile points, ramp from first
exposure to last exposure