updateTarget

For the main loop. Finds the best target in range.

Updates the current target.