calculates location of catching a moving object on earth