Added function to convert MLP in ALL-ALL-MLP, and solved not initilizaed bug in mlp.cc
Modified compute generalization script