Store GPS data in variable calculation error