fix multilayer_neural_network