Standard Perimeter-Scan Formula:
Perhaps the most commonly-used of the long math formulae, this one
gives a result which is an indicator to how far the closest uncloaked enemy
is from your cybug. There's an explanation of it which may be of interest
This formula equates to less than 3 when there is an enemy on your perimeter.