Working geolocation

Geolocation works for the last packet of the iteration. Next step is to
create a loop for the location.