Small changes to civil_from_days_perf