Now uses LUT from emulator. Closes #11.