added wait for gps lock
testing waiting on gps to log data