Benefits of gain: speeded learning and minimal hidden layers in back-propagation networks