Cognitive and computational neuroscience : principles, algorithms and applications