Brain scans help predict learning problems