Renamed hst_to_jpl to calc_detla which is more discriptive.