C library for finding and handling crystal symmetries