Distance now honors altitude

Fixes #16 on github