def propagateAndUpdate(self, x, y):
        a = self.propagate(x)
        self.update(x, y, a)
Used to forward propagate a prediction based on input x, and update against truth y
dataset/ETHPy150Open dkotfis/NeuRL/src/nn.py/NeuralNet.propagateAndUpdate