A proposal for a Monte Carlo-based learning algorithm for multi-layer perceptron