Updated file for 3D Plotting of Loss Function, requires gridfit.m script from Matlab Central