calculation with ints to get Gps coordinates