calculate pace depending on elevation change