Update function_sdp_testandtreat_d1.R

We should not be extracting only cross-sectional network at the top and calling it "nw." That changes the network object "nw" that all processes are run on.