make the lut to linearize the drive