-fixed the distance calculation
-Added aliases to the XMLTransformer