fixed level 0-1 memory and non-linearity correction, straylight still work in progress