Using Cyclic String Matching to Find Rotational and Reflectional Symmetries in Shapes