Fixed small math error in nntrainer.py
Fixed nntrainer.py

Still only accurate up to the second decimal place. Must figure out how
to increase accuracy.