calculate distance matrix only when body is loaded
Merge branch 'master' of github.com:pylayers/pylayers
fixing problem with thkb in cormoran