Computational symmetry for material systems