NN bug fixes

-Fixed some vital bugs.
- continue_test_nn_voting will continue training the last network
created with test_nn_voting or test_nn_voting_pca