Feedforward neural networks for principal components extraction