implemented periodic orbit finder.  Still have to test it.