Distance command

Fixes #21