revised summary program to be flexible if there are errors in enrol_d, birth_d, or male_y