Fix a bug in decoding gains with tied weights. Allow bias values to be not learned if needed.
Fix a bug in decoding gains with tied weights. Allow bias values to be not learned if needed.

lmjohns3/theanets,devdoer/theanets,chrinide/theanets