Find the distance to 1
From:
Calculate distance