driver andorcam2: simplify generation of fake gradient

it's also faster and more precise