Fixed calculation of lon and lat uncertainty.