Finished neural net implementation in C++.