Variation of weight with distance and elevation