Delta T: Terrestrial Time, Universal Time and Algorithms for Historical Periods