updated to work within 100km from Florida to Hong Kong
corrected tolerance
added stuff from Johns edit to repo