Changed to floating point lookup table