Given a reference, calculates how to best match the target.
the current state of the item being controlled