Got basic distance calculating working.

Ref #54
Set loc1 and loc2 to undefined after.

You want to make sure that you can check
more distances without having to refresh!
Now it draws lines!

Ref #54