Added dumping out of generation and parent ID in matings output.