moved location prediction into findClosestRatNotInInfluence to make it easier to port this over