Silly implementation of multilayer perceptron.