Lightning distance calculator