Removed unused code in maxout and mlp