Update PlotLossFunction.m