The Science of Building an Optimal Mind