NNTrainer.py correctly compiles (syntax error free)
Fixed syntax issues in both nntrainer and nntrainer_test
Fixed nntrainer bugs (that I can see so far)

Most bugs are just syntax errors with using numpy matrices.
fixed assertion in gradient test