add transformation from phone coordinates to global coordinates