Performance increase for the update methods in the FullyConnected and Convolutional layers.