add fractional translations to symmetry.py