Random input generator. Evaluate output of the network.