A Neural Network model with Bidirectional Whitening