A New Neural Network Architecture Invariant to the Action of Symmetry Subgroups