Women who are obese before they become pregnant are at higher risk of having children with lower cognitive function - as measured by math and reading tests taken between ages 5 to 7 years - than are mothers with a healthy pre-pregnancy weight, new research suggests.