Base distance calculation
Adding in the sample notes