basic distance conversion calculations implemented