thigmophobe function

Find the direction away from the closest point