Updated distance formula

Removed unused #include
Removed unnecessary whitespace