On the learning and structure of symmetry based disentangled representations