Fixes GetNetworkLabel.
More efficient forwardprop and backprop.