airdist function

Measure distance from plot