A Learning Neural Cognitive Architecture