Added conversion from GPS to local coordinates.