Added civil_from_days algo + unit test