Training of the Multilayer Perceptrons using Direct Solution Methods