Simplistic neural network implementation in C#