allowed ddmm to be input into "distance" function and change url in get_w_depth