added adjustable gamma  correction
Currently only in code.