Update NLSsplitting3D.m

this is updated code in NLS 3D MATLAB