Added pregnancy end date and fixed ga calculation