added a return all option to MLP.fprop