Neural Network for Invariant Image Classification