major correct of nnet code. hopefully it works now!
some more changes
remove save load methods and add a write method.
some fixes to the commandline arg parser