added correct gps data calculation. the rain data gets to the correct blocks