Stability and adaptation in artificial neural systems.