updated nn_classifiers and optimizations, also added .gitignore