Added a shizton of comments. Currently fixing nntrainer.py