Fixed issues related to Juckem's problems. Stopped using DX and DY from ...

...GWVistas since there can be unit conflicts. Issues with multiple cells having same minimum distances and  a comment including "short-trem workaround" need further attention at some point.