added gps2xyz (needs debugging)