Recurrent Hebbian Networks