A library to set and convert distances