wip
Implements neural network simulation and some tests for it.