Distance conversion added, travis config and intern tests.