changed for self:inputAct() in Neural
Layer:outputAct/inputGrad can be used for updating output and input
SoftmaxTree:backward