Application of principal component analysis to the design of neural networks