Testing the network

In order to test the network, we to do a simple forward and backward propagation, depicted as follows:

public double[] Compute(params double[] inputs)
{

Perform forward propagation, as follows:

  ForwardPropagate(inputs);

Return the data, as follows:

  return OutputLayer.Select(a =>a.Value).ToArray();
}