Created add_layer method in NeuralNet and moved random initialization heuristic to its own function