fixing file sync for tee file

git-svn-id: http://svn.code.sf.net/p/sumo/code/trunk/sumo@16979 29f149b2-0c63-11e1-8f5c-a347f6a9acd0
now using position of the node as reference point for distances, refs #1422

git-svn-id: http://svn.code.sf.net/p/sumo/code/trunk/sumo@16980 29f149b2-0c63-11e1-8f5c-a347f6a9acd0