Once we got the future-scrying device, it made such "algorithms" much easier! Of course we had to revert to the old software when people will have died shortly after the request; but then, there's no need for the extrapolation!