Forward Propagation and the Loss Function