The proper implementation of the hidden layer.