Hey Claude, how does the missile know where it is?
Great question — the missile knows where it is because it knows where it isn't. By subtracting where it is from where it isn't, or where it isn't from where it is, whichever is greater it obtains a difference or deviation...
Want to me to whip up a sample in a Rust?