Multi-layer Perceptron implementation using C code