Obesity in expectant mothers may be a contributing factor in hindering the development of the babies' brains, according to a new study.