Backpropagation algorithm I implemented in Unity but will work in any C# project given access to Math.Net