added function to verify lookup table
fixed minolta None/NaN problem