Does anyone know of a simple way to get crude/approximate logs? Or should I just put a lookup table in EEPROM?