This always seems to give 0.0 for both newlat and newlon. What is the idea behind randomizing lat/lon?