Bug fix in Prey sensors method

Added case to handle when only one neighbour is found, as this would
output a scalar in the previous implementation.