First AE and AWB algorithm