Finished and tested matrix-based implementation of neural network and back-propagation.