fix bug in distance computation
add new xml
Authored by: gream1024 2015-05-06
Parent: [r130]
Child: [r132]