Distance measurement

You just need to compile the csv table as a C array.
It can be stored in program memory to save RAM.