Breakthroughs in brain imaging and genetics has made it possible to understand how the interplay of genes and environment affect the mind, and ultimately, tell us how to live better.