EA_MODEL added function to calculate distance to target (for the DMI) and changed the rule for sending it to the DMI
Automatic changes, no effect on model