Trend may not be the right way to go.
Want to try using the rotation with the weight.
Should, probably, call it direction and check how
close that direction is to the direction of navigation.
Now min weight is chosen if min deviation in direction points to same point or if the mean deviation is in the same direction (beyond the closest point). Otherwise point with min deviation is chosen if the deviation is less than 45°