Multilayer perceptron -- C++