Update compkl.lua

* Fix distance calculation equation
* Move local function sortkl() before M.compkldist()
test.lua

* Add short range scanner and klingon info dump