C# port of VB.NET port of Matt Buckland's neuroevolution demo