Update grad shared variable names.
Add a multiplicative gain to network neurons (defaults to 1). Can be learned along with other parameters by including the flag --learn-gains.