refined lat lon caluclation