Training Multilayer Perceptrons with the Extended Kalman Algorithm