Added distance calculator