Flexibility in neuronal computations and reward learning