Added generate look up table and convert sensor to cm