The absence of women from science is indeed a brain problem, but not due to individual cognitive capacity, rather the social context of science. Confronted with an institution which views them as probably inferior, possibly incompetent, (ideally invisible) women will take their skills elsewhere.