Fixed several more issues in nnet.py