Fixed problem with how cost was being calculated.
implemented gradient test

  - implemented gradient calculation in nntrainer_test
  - fixed class inheritance typo
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
createCostFn accepts/returns a column vector

Also fixed the logit function gradient.
fixed gradient test
made gradient test deterministic
fixed wvec initialization
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.
Added a ton of accuracy tests. Added docs for function packages.
Fixed small bugs, added documentation, and added accuracy tests.

Everything up to neural network is accurate to around 10 or more
significant digits when compared to Octave.
Added a shizton of comments. Currently fixing nntrainer.py
Updated nntrainer.py and nntrainer_test.py to fix gradient accuracy.

Still buggy, does not compute gradient correctly.
FIXED ACCURACY. BACKPROPOGATION CORRECTLY CALCULATES GRADIENT.
Implemented train method in nntrainer.py. Untested.
Merge pull request #16 from ImpGuard/fix-cost

Merging gradient tests and accuracy issues