Efficient lookup table using a linear function of inverse distance squared. Issue 28 (12th August 2013)