Lut/Lut2: cosmetics

In the last pull request, I forgot about the test script.
Also, i applied some cosmetics to the functions. 
Although it is necessary to fix documents, I can't write patch since I'm not good at English very much...