Learning Linear Groups in Neural Networks