sorted double printing of some params to the netparam file. Need to set expt.codesent more systematically.....